package com.yxd.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxd.demo.domain.Rule;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: yxd
 * @date: 2022/8/1 9:41
 */
@Mapper
public interface RuleMapper extends BaseMapper<Rule> {
    List<Rule> queryByIds(@Param("list")List<Long> list);

    List<Rule> queryAll();
}
